<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title><?php echo ((isset($title) && ($title !== ""))?($title):'急救记录单'); ?></title>
    <meta name="keywords" content="<?php echo ((isset($keywords) && ($keywords !== ""))?($keywords):"keywords未定义"); ?>">
    <meta name="description" content="<?php echo ((isset($description) && ($description !== ""))?($description):"description未定义"); ?>">

    <link rel="shortcut icon" href="favicon.ico"> <link href="/Public/res/template/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/Public/res/template/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="/Public/res/template/css/animate.css" rel="stylesheet">
    <link href="/Public/res/template/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="/Public/css/commonstyle.css" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content">

<div class="row">
<div class="col-sm-12">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>修改科室</h5>
            <ol class="breadcrumb pull-right">
                <li>
                    <a href="<?php echo U('Admin/Keshi/index');?>"><strong>返回上一页</strong></a>
                </li>
            </ol>
        </div>
        <div class="ibox-content">		
			<form class="form-horizontal col-sm-12" action="<?php echo U('Admin/Keshi/editKeshi');?>" method="POST">
				<input type="hidden" name="id" value="<?php echo ($Keshi['id']); ?>">
				<input type="hidden" name="keshi_id" value="<?php echo ($Keshi['keshi_id']); ?>">
				<div class="col-sm-8">
	                <div class="form-group">
	                    <label class="col-sm-3 control-label">科室名称</label>
	                    <div class="col-sm-7">
	                        <input name="name" class='form-control' placeholder="科室名称" value="<?php echo ($Keshi['keshi_name']); ?>">
	                    </div>
	                </div>
					<div class="form-group">
						<label class="col-sm-3 control-label">医院</label>
						<div class="col-sm-7">
							<select multiple class="form-control" name="hospital_id">
								<?php if(is_array($Hospital)): foreach($Hospital as $key=>$vo): ?><option value="<?php echo ($vo['id']); ?>" <?php if($Keshi['hospital_id'] == $vo['id']): ?>selected<?php endif; ?> ><?php echo ($vo['name']); ?></option><?php endforeach; endif; ?> 
							</select>
							<br>
						</div>
					</div>
				</div>
				<div class="clearfix"></div>
				<div class="from-group">
					<button class='btn btn-success'>确认</button>
				</div>
            </form>
            <div class="clearfix"></div>
		</div>
    </div>
</div>

    
    </div>

    <!-- 全局js -->
    <script src="/Public/res/template/js/jquery.min.js?v=2.1.4"></script>
    <script src="/Public/res/template/js/bootstrap.min.js?v=3.3.6"></script>

    <!-- 自定义js -->
    <script src="/Public/res/template/js/content.js?v=1.0.0"></script>

    <!-- Peity -->
    <script src="/Public/res/template/js/plugins/peity/jquery.peity.min.js"></script>

    <!-- Peity -->
    <script src="/Public/res/template/js/demo/peity-demo.js"></script>

</body>

</html>